Skip to main content
method Dir.prototype.[Symbol.asyncIterator]
Dir.prototype.[Symbol.asyncIterator](): AsyncIterableIterator<Dirent>
Deprecated

Asynchronously iterates over the directory via readdir(3) until all entries have been read.

Return Type

AsyncIterableIterator<Dirent>
Back to top